package com.lhf.fvscommon.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p></p>
 *
 * @author lhf
 * @since 2020/10/28 19:00
 */
@ApiModel("返回选项")
@Data
public class SysPerOptionsVo {

    private static final long serialVersionUID = -56556394054677397L;
    @ApiModelProperty(value = "权限id")
    private Integer value;
    @ApiModelProperty(value = "菜单名字")
    private String label;

    @ApiModelProperty(value = "子级")
    @JsonInclude(value = JsonInclude.Include.NON_EMPTY)
    private List<SysPerOptionsVo> children;
}
